﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace SMARTHOTEL.RoomMoneys
{
    public interface IRoomMoneyService:IApplicationService
    {
        /// <summary>
        /// 添加房价
        /// </summary>
        /// <param name="roomMoneyDto"></param>
        /// <returns></returns>
        Task<ResultDto<bool>> CreateAllAsync(CreateUpdateRoomMoneyDto roomMoneyDto);
        /// <summary>
        /// 房价显示
        /// </summary>
        /// <param name="roomTypeName"></param>
        /// <returns></returns>
        Task<ResultDto<List<RoomMoneyDto>>> GetAllAsync(Guid? roomTypeId);
        /// <summary>
        /// 修改房价
        /// </summary>
        /// <param name="roomMoneyDto"></param>
        /// <returns></returns>
        Task<ResultDto<bool>> UpdateAsync(CreateUpdateRoomMoneyDtos roomMoneyDto, Guid Id);
        /// <summary>
        /// 删除房价
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ResultDto<bool>> DeleteAsync(Guid id);
        /// <summary>
        /// 修改状态（上架下架）
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>s
        Task<ResultDto<bool>> UpdateStateAsync(Guid id);
    }
}
